#ifndef __GAME_SCENE_H
#define __GAME_SCENE_H
#include "cocos2d.h"
#include "Player.h"
#include "Mamma.h"
#include "Album.h"
#include "OutDoor.h"
#include "Store.h"

USING_NS_CC;

enum
{
	kTag_background = 0,
	kTag_mamma = 10,
	kTag_shadow = 15,
	kTag_player = 20,
	kTag_outlook = 30,
	kTag_UI = 40,
	kTag_info = 50,
	kTag_label = 60
};

enum
{
	Stg_1 = 12,
	Stg_2 = 25,
	Stg_3 = 40,
	Stg_4 = 60,
	Stg_5 = 90,
	Stg_6 = 120
};
class GameScene : public cocos2d::Layer
{
public:
	static cocos2d::Scene* createScene();
	bool init();
	void gameMain();
	void updateExpBar();
	void expBar();
	void particle();
	void update(float dt);
	void playerMove();
	void createMamma();
	void goToMamma();
	void removeMamma(Mamma* touchedMamma);
	virtual void onTouchesBegan(const std::vector<Touch*>&touches, Event* unused_event);
	virtual void onTouchesMoved(const std::vector<Touch*>&touches, Event* unused_event);
	float _expPercent;
	float _currentLevel;
	int _currentStg;	
	Player* player;
	Mamma* mamma1;
	Vector <Mamma*> mamma1List;
	Vector <Mamma*> touchedMammaList;
	Sprite* _expBar;
	Label* _StgLabel;
	Label* _lvUpLabel;
	Label* _expLabel;
	Sprite* _lvUpConsole;
	Sprite* _shadow;
	char tmp[10];
	void SelectMenu(Ref* tmp, const char* str);
	GameScene();
	~GameScene();

	CREATE_FUNC(GameScene);
};

#endif